package cn.iocoder.boot.service;

import cn.iocoder.boot.dto.ConfigQueryTO;
import cn.iocoder.boot.dto.SearchModelTO;
import cn.iocoder.boot.entity.ComponentSupplier;
import cn.iocoder.boot.entity.SalePriceConfig;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface SalePriceConfigService {
    Page<SalePriceConfig> list(ConfigQueryTO to);

    Boolean updateSalePriceConfig(SalePriceConfig salePriceConfig);

    Boolean insertSalePriceConfig(SalePriceConfig salePriceConfig);

    Boolean deleteSalePriceConfig(Long id);

    SalePriceConfig getSalePriceConfig(Long id);

    Boolean importSalePriceConfig(MultipartFile file) throws IOException;

    SalePriceConfig searchModel(SearchModelTO salePriceConfig);
}
